package com.ys.service.account;

import java.math.BigDecimal;
import java.util.Map;

import com.ys.vo.R;

public interface TcwNeedPayLedgerDetailService {

	R add(String needPayAccountCode, String detailArr) throws Exception;

	R edit(Map<String, Object> params) throws Exception;

	//划拨，生成流水
	R doTransferFlow(Long id) throws Exception ;


	//复制
	R doCopy(Long id) throws Exception ;

	//删除
	R doDel(Long id) throws Exception ;


	//设置成本价
	R setUnitPrice(Long id, BigDecimal costPrice) throws Exception ;


	//设置代理价
	R setProxyPrice(Long id, BigDecimal proxyPrice) throws Exception ;

	//批量修改应付类型
	R setNeedPayType(Long id, String needPayTypeCode) throws Exception ;


	//设置已付金额
	R setPayedPrice(Long id, BigDecimal payedPrice) throws Exception ;


	//批量修改交易类型
	R setVjylx(Long id, String vjylx) throws Exception ;

}
